package com.xyyl.patient.entity.archives;

import java.io.Serializable;

public class Archives implements Serializable {
	private static final long serialVersionUID = 1L;

	private Integer id;

	private Integer age;

	private String allergydrugs;

	private String birthday;

	private String createtime;

	private String drugexplain;

	private String height;

	private String inheriteddisease;

	private Integer isDeleted;

	private Integer ismarriage;

	private String name;

	private Integer sex;

	private String takinglongtermdrug;

	private Integer takingsedative;

	private String weight;

	private Integer patientid;

	private String phoneNumber;

	private String drugallergy;
	//身份证号
	private String idcard;
	//精仿ID
	private Integer visitcount;
	
	public Integer getVisitcount() {
		return visitcount;
	}

	public void setVisitcount(Integer visitcount) {
		this.visitcount = visitcount;
	}

	public String getIdcard() {
		return idcard;
	}

	public void setIdcard(String idcard) {
		this.idcard = idcard;
	}

	public String getDrugallergy() {
		return drugallergy;
	}

	public void setDrugallergy(String drugallergy) {
		this.drugallergy = drugallergy;
	}

	/**
	 * 是否过敏的药物
	 */
	private Integer isdrugallergy;
	/**
	 * 与自己关系
	 */
	private Integer ourself;
	/**
	 * 档案类型
	 */
	private Integer type;

	private String diseasehistory;

	private String medicalrecords;

	public String getMedicalrecords() {
		return medicalrecords;
	}

	public void setMedicalrecords(String medicalrecords) {
		this.medicalrecords = medicalrecords;
	}

	public Integer getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public String getDiseasehistory() {
		return diseasehistory;
	}

	public void setDiseasehistory(String diseasehistory) {
		this.diseasehistory = diseasehistory;
	}

	public Integer getIsdrugallergy() {
		return isdrugallergy;
	}

	public void setIsdrugallergy(Integer isdrugallergy) {
		this.isdrugallergy = isdrugallergy;
	}

	public Integer getOurself() {
		return ourself;
	}

	public void setOurself(Integer ourself) {
		this.ourself = ourself;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public String getAllergydrugs() {
		return allergydrugs;
	}

	public void setAllergydrugs(String allergydrugs) {
		this.allergydrugs = allergydrugs == null ? null : allergydrugs.trim();
	}

	public String getBirthday() {
		return birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday == null ? null : birthday.trim();
	}

	public String getCreatetime() {
		return createtime;
	}

	public void setCreatetime(String createtime) {
		this.createtime = createtime == null ? null : createtime.trim();
	}

	public String getDrugexplain() {
		return drugexplain;
	}

	public void setDrugexplain(String drugexplain) {
		this.drugexplain = drugexplain == null ? null : drugexplain.trim();
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height == null ? null : height.trim();
	}

	public String getInheriteddisease() {
		return inheriteddisease;
	}

	public void setInheriteddisease(String inheriteddisease) {
		this.inheriteddisease = inheriteddisease == null ? null : inheriteddisease.trim();
	}

	public Integer getIsdeleted() {
		return isDeleted;
	}

	public void setIsdeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	public Integer getIsmarriage() {
		return ismarriage;
	}

	public void setIsmarriage(Integer ismarriage) {
		this.ismarriage = ismarriage;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name == null ? null : name.trim();
	}

	public Integer getSex() {
		return sex;
	}

	public void setSex(Integer sex) {
		this.sex = sex;
	}

	public String getTakinglongtermdrug() {
		return takinglongtermdrug;
	}

	public void setTakinglongtermdrug(String takinglongtermdrug) {
		this.takinglongtermdrug = takinglongtermdrug == null ? null : takinglongtermdrug.trim();
	}

	public Integer getTakingsedative() {
		return takingsedative;
	}

	public void setTakingsedative(Integer takingsedative) {
		this.takingsedative = takingsedative;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight == null ? null : weight.trim();
	}

	public Integer getPatientid() {
		return patientid;
	}

	public void setPatientid(Integer patientid) {
		this.patientid = patientid;
	}
}